package com.cowin.sys.service.impl;

import com.cowin.sys.dao.TmBasVehiclequeueMapper;
import com.cowin.sys.model.TmBasVehiclequeue;
import com.cowin.sys.service.TmBasVehiclequeueService;
import com.cowin.base.AbstractServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by  on 2019/10/17.
 * @author CodeGenerator
 */
@Slf4j
@Service
@Transactional(rollbackFor = RuntimeException.class)
public class TmBasVehiclequeueServiceImpl extends AbstractServiceImpl<TmBasVehiclequeue> implements TmBasVehiclequeueService {

    @Resource
    private TmBasVehiclequeueMapper tmBasVehiclequeueMapper;

    @Override
    public Integer findCountByVin(String vin) {
        return tmBasVehiclequeueMapper.findCountByVin(vin);
    }
}
